#{ SOAR_IFU.CL -- Script to set up tasks in the SOAR_IFU package

# load necessary packages here
noao
onedspec
twodspec
apextract
imred
ccdred


setinstrument.instrument = "ccd2k"
setinstrument.query = "q"
setinstrument.site = ""
setinstrument.directory = "soar_ifu$conf/"
setinstrument.review = no
setinstrument.mode = "ql"

apextract.dispaxis=1

#cl < "gmisc$lib/zzsetenv.def"
set soar_ifu="home$"

package	soar_ifu
#, bin = soar_ifu_bin$

# directory definitions
#set ldispdemo = "gmisc$src/ldispdemo/"

# define the various types of tasks

# native IRAF (spp) tasks:
task	ldisplay = "soar_ifu$bin/ldisplay.e"
task	datacube = "soar_ifu$bin/datacube.e"

# CL scripts with parameters:
#task	qr1k = "soar_ifu$src/qr1k.cl"
#task	qr2k = "soar_ifu$src/qr2k.cl"
#task  quickred = "soar_ifu$src/quickred.cl"
task	obj = "soar_ifu$src/obj.cl"
#task	prered = "soar_ifu$src/prered.cl"
task    ifu = "soar_ifu$src/ifu.cl"

# calibration scripts
task   mask       = "soar_ifu$src/mask.cl"
task   calfib     = "soar_ifu$src/calfib.cl"
task   transcor   = "soar_ifu$src/transcor.cl"
task   transcal   = "soar_ifu$src/transcal.cl"
task   fibint     = "soar_ifu$src/fibint.cl"

# simulation scripts
task   doall      = "soar_ifu$src/doall.cl"

# CL scripts without parameters:

# IMFORT and other host programs:

clbye()




